package com.ruoyi.syf.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.syf.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("风险判定主表")
public class RiskEvaluation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "对象ID")
    private Long objectId;

    @ApiModelProperty(value = "单元ID")
    private Long unitId;

    @ApiModelProperty(value = "判定方法")
    private String method;

    @ApiModelProperty(value = "最大事故等级,有值可以作为风险清单")
    private String maxAccidentLevel;

    @ApiModelProperty(value = "风险识别成员")
    private String evaluationUsers;

}
